package com.akk.module.hlbpay.model;

import com.akk.PayConstants;

/**
 * Created by Administrator on 2017/10/23.
 */
public class HlbH5CallBackRequest {

    private String rt1_bizType;
    private String rt2_customerNumber;
    private String rt3_userId;
    private String rt4_orderId;
    private String rt5_orderAmount;
    private String rt6_createDate;
    private String rt7_completeDate;
    private String rt8_orderStatus;// 订单状态 INIT：未支付  SUCCESS：成功 CANCELLED：已取消 REFUNDED：已退款 FAILED：失败 DOING：处理中
    private String rt9_serialNumber;// 合利宝流水号
    private String rt10_bankId;
    private String rt11_onlineCardType;// 银行卡类型
    private String rt12_cardAfterFour;
    private String rt13_bindId;
    private String rt14_desc;
    private String signType;
    private String sign;

    public String getRt1_bizType() {
        return rt1_bizType;
    }

    public void setRt1_bizType(String rt1_bizType) {
        this.rt1_bizType = rt1_bizType;
    }

    public String getRt2_customerNumber() {
        return rt2_customerNumber;
    }

    public void setRt2_customerNumber(String rt2_customerNumber) {
        this.rt2_customerNumber = rt2_customerNumber;
    }

    public String getRt3_userId() {
        return rt3_userId;
    }

    public void setRt3_userId(String rt3_userId) {
        this.rt3_userId = rt3_userId;
    }

    public String getRt4_orderId() {
        return rt4_orderId;
    }

    public void setRt4_orderId(String rt4_orderId) {
        this.rt4_orderId = rt4_orderId;
    }

    public String getRt5_orderAmount() {
        return rt5_orderAmount;
    }

    public void setRt5_orderAmount(String rt5_orderAmount) {
        this.rt5_orderAmount = rt5_orderAmount;
    }

    public String getRt6_createDate() {
        return rt6_createDate;
    }

    public void setRt6_createDate(String rt6_createDate) {
        this.rt6_createDate = rt6_createDate;
    }

    public String getRt7_completeDate() {
        return rt7_completeDate;
    }

    public void setRt7_completeDate(String rt7_completeDate) {
        this.rt7_completeDate = rt7_completeDate;
    }

    public String getRt8_orderStatus() {
        return rt8_orderStatus;
    }

    public void setRt8_orderStatus(String rt8_orderStatus) {
        this.rt8_orderStatus = rt8_orderStatus;
    }

    public String getRt9_serialNumber() {
        return rt9_serialNumber;
    }

    public void setRt9_serialNumber(String rt9_serialNumber) {
        this.rt9_serialNumber = rt9_serialNumber;
    }

    public String getRt10_bankId() {
        return rt10_bankId;
    }

    public void setRt10_bankId(String rt10_bankId) {
        this.rt10_bankId = rt10_bankId;
    }

    public String getRt11_onlineCardType() {
        return rt11_onlineCardType;
    }

    public void setRt11_onlineCardType(String rt11_onlineCardType) {
        this.rt11_onlineCardType = rt11_onlineCardType;
    }

    public String getRt12_cardAfterFour() {
        return rt12_cardAfterFour;
    }

    public void setRt12_cardAfterFour(String rt12_cardAfterFour) {
        this.rt12_cardAfterFour = rt12_cardAfterFour;
    }

    public String getRt13_bindId() {
        return rt13_bindId;
    }

    public void setRt13_bindId(String rt13_bindId) {
        this.rt13_bindId = rt13_bindId;
    }

    public String getRt14_desc() {
        return rt14_desc;
    }

    public void setRt14_desc(String rt14_desc) {
        this.rt14_desc = rt14_desc;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getSignStr(){
        StringBuffer sb = new StringBuffer();
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(rt1_bizType);
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(rt2_customerNumber);
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(rt3_userId);
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(rt4_orderId);
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(rt5_orderAmount);
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(rt6_createDate);
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(rt7_completeDate);
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(rt8_orderStatus);
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(rt9_serialNumber);
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(rt10_bankId);
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(rt11_onlineCardType);
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(rt12_cardAfterFour);
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(rt13_bindId);
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(rt14_desc);
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(signType);
        sb.append(PayConstants.HLB_SPLIT);
        sb.append(PayConstants.HLB_SIGNKEY_SAME_PERSON);
        return sb.toString().replaceAll("null","");
    }

}
